package cn.iocoder.yudao.module.system.controller.admin.investment.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author 梁富贵
 * @Date 2024/10/21
 **/
@Schema(description = "管理后台 - 招商项目添加 Request VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class InvestmentInsertReqVO {
    @Schema(description = "商家ID", example = "1")
    @NotNull
    private Long merchantId;

    @Schema(description = "招商项目ID", example = "1")
    @NotNull
    private Integer id;

    @Schema(description = "招商项目名称", example = "1")
    @NotNull
    @NotEmpty
    private String name;

    @Schema(description = "招商项目描述", example = "1")
    private String description;

    @Schema(description = "招商项目描述链接", example = "1")
    private String descriptionUrl;

    @Schema(description = "招商项目状态", example = "1")
    @NotNull
    private Integer status;

    @Schema(description = "招商项目开始时间", example = "1")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime startDate;

    @Schema(description = "招商项目结束时间", example = "1")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime endDate;

    @Schema(description = "招商项目联系人", example = "1")
    @NotNull
    @NotEmpty
    private String contactPerson;

    @Schema(description = "招商项目联系人电话", example = "1")
    @NotNull
    @NotEmpty
    private String contactPhone;

    @Schema(description = "招商项目联系人邮箱", example = "1")
    private String contactEmail;

    @Schema(description = "招商项目附件")
    @NotNull
    private String plans;

    @Schema(description = "招商项目产品地区", example = "1")
    private String produceArea;

    @Schema(description = "招商项目封面", example = "1")
    private String cover;

    @Schema(description = "招商项目产品类型", example = "1")
    private Integer productType;
}
